<template>
	<view>
		<image src="/static/dingbu.png" class="mine-navbar-bg" :style="{ height: navbarHeight + 'rpx' }" mode="aspectFill"></image>
		<u-navbar title="抽样单详情" :autoBack="true" leftIconColor="#fff" bgColor="transparent" :titleStyle="{ color: '#fff' }"
			safeAreaInsetTop placeholder></u-navbar>
		<view style="height: 200rpx;"></view>
		<view class="jian">周俊峰自然资源厅抽样单</view>
		<view class="jian1">采样编号: zhoujunfeng</view>
		<view class="table">
			<table class="ta">
				<tr>
					<td>机构名称</td>
					<td>周俊峰</td>
					<td>联系人</td>
					<td>周俊峰</td>
				</tr>
				<tr>
					<td>电话</td>
					<td>周俊峰</td>
					<td>地址</td>
					<td>周俊峰</td>
				</tr>
				<tr>
					<td>邮编</td>
					<td>周俊峰</td>
					<td>手机</td>
					<td>周俊峰</td>
				</tr>
				<tr>
					<td>组织机构代码</td>
					<td>周俊峰</td>
					<td>所在行政区域</td>
					<td>周俊峰</td>
				</tr>
				<tr>
					<td>传真</td>
					<td>周俊峰</td>
					<td>邮箱</td>
					<td>周俊峰</td>
				</tr>
			</table>
		</view>
	</view>
</template>

<script>
import navbarMixin from '@/common/navbarMixin'
export default {
	mixins: [navbarMixin],
	data() {
		return {
			
		};
	},
	// 进入横屏，离开恢复竖屏（仅 App）
	onShow() {
		// #ifdef APP-PLUS
		try { plus.screen.lockOrientation('landscape-primary'); } catch (e) {}
		// #endif
	},
	onHide() {
		// #ifdef APP-PLUS
		try { plus.screen.lockOrientation('portrait-primary'); } catch (e) {}
		// #endif
	},
	onUnload() {
		// #ifdef APP-PLUS
		try { plus.screen.lockOrientation('portrait-primary'); } catch (e) {}
		// #endif
	},
	onBackPress() {
		// #ifdef APP-PLUS
		try { plus.screen.lockOrientation('portrait-primary'); } catch (e) {}
		// #endif
		return false; // 继续默认返回
	}
}
</script>

<style lang="scss">
	.jian1 {
		font-size: 12rpx;
		text-align: right;
		margin-right: 10rpx;
	}
	.ta { 
		width: 100%;
		border-collapse: collapse;
		tr{
			height: 46rpx;
			&:nth-child(2n) {
				background: #eee;
			}
		}
		td{
			border: 1px solid #ccc;
			padding-left: 5rpx;
		}
	}
	page {
		background: #fff;
	}
	.table {
		padding: 5rpx 10rpx;
		font-size: 16rpx;
	}
	.jian {
		font-size: 16rpx;
		font-weight: 700;
		text-align: center;
	}
	.mine-navbar-bg {
		position: fixed;
		top: 0;
		left: 0;
		width: 100%;
		
	}
</style>
